package com.zx.wx.wxInterface;

import java.util.Map;

/**
 * 蕾姆老婆，not bug

 * @author：朱笑    
 * @note：微信基础参数接口
 * @date：2016年7月17日 
 */
public interface Base { 
	
	/**
	 *2016年8月13日 下午10:45:52
	 *@param appID
	 *@param appsecret
	 *@return k:V access_token:String,access_token_update_time:long(毫秒数)
	 *				
	 *@note:
	 */
	public Map<String,Object> getRamAccess_token(String appID,String appsecret);
	public void setRamAccess_token(String access_token,String access_token_update_time,String appID,String appsecret);
	public Map<String, Object>  getDBAccess_token(String appID,String appsecret);
	public void setDBAccess_token(String access_token,String appID,String appsecret);
	public void updateDBAccess_token(String access_token,String appID,String appsecret);
	
	
	public Map<String,Object> getRamApi_ticket(String appID,String appsecret);
	public void setRamApi_ticket(String api_ticket,String api_ticket_update_time,String appID,String appsecret);
	public Map<String, Object> getDBApi_ticket(String appID,String appsecret);
	public void setDBApi_ticket(String api_ticket,String appID,String appsecret);
	public void updateDBApi_ticket(String api_ticket, String appid, String appsecret);
}
